﻿using System;
namespace Microsoft.Data.OData.Query.Metadata
{
    /// <summary>
    /// Use this type to describe the kind of results returned by a service
    /// operation.
    /// </summary>
    internal enum ODataServiceOperationResultKind
    {
        /// <summary>
        /// A single direct value which cannot be further composed.
        /// </summary>
        DirectValue,
        /// <summary>
        /// An enumeration of values which cannot be further composed.
        /// </summary>
        Enumeration,
        /// <summary>
        /// A queryable object which returns multiple elements.
        /// </summary>
        QueryWithMultipleResults,
        /// <summary>
        /// A queryable object which returns a single element.
        /// </summary>
        QueryWithSingleResult,
        /// <summary>
        /// No result return.
        /// </summary>
        Void
    }
}
